package com.ourteam.product.requirement.dao;

import net.dao.BaseQueryBean;
import net.dao.BaseWhereCriterion;
import net.dao.IDataAccessInterface;

import org.apache.commons.lang.StringUtils;

import java.util.Arrays;
import java.util.List;
import java.util.Map;


/**
 * Template Name : DAO查询对象
 * Template Version : 1
 * Template Last Modfiy Date : Sat Aug 19 10:06:32 CST 2017
 * Auto Generate Date : 2018-05-03 16:45:32
  * Warning ! This file will be overwrite when regenerate !
  *
 */
public class ProductFeatureCheckListDAOQueryBean extends BaseQueryBean {
    public ProductFeatureCheckListDAOQueryBean() {
        super();
    }

    public ProductFeatureCheckListDAOQueryBean(BaseQueryBean aQueryBean) {
        super(aQueryBean);
    }

    public ProductFeatureCheckListDAOQueryBean(BaseQueryBean aQueryBean,
        Map tableReplaceMap) {
        super(aQueryBean, tableReplaceMap);
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();

        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }

        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        return new Criteria(this);
    }

    public void addIdSelectProperty() {
        addIdSelectProperty("id");
    }

    public void addIdSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(IProductFeatureCheckListDAO.Id, aAlias);
        } else {
            addSelectProperty(IProductFeatureCheckListDAO.Id, "id");
        }
    }

    public void addProductFeatureIdSelectProperty() {
        addProductFeatureIdSelectProperty("productFeatureId");
    }

    public void addProductFeatureIdSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(IProductFeatureCheckListDAO.ProductFeatureId,
                aAlias);
        } else {
            addSelectProperty(IProductFeatureCheckListDAO.ProductFeatureId,
                "productFeatureId");
        }
    }

    public void addCheckContentSelectProperty() {
        addCheckContentSelectProperty("checkContent");
    }

    public void addCheckContentSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(IProductFeatureCheckListDAO.CheckContent, aAlias);
        } else {
            addSelectProperty(IProductFeatureCheckListDAO.CheckContent,
                "checkContent");
        }
    }

    public void addSortIndexSelectProperty() {
        addSortIndexSelectProperty("sortIndex");
    }

    public void addSortIndexSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(IProductFeatureCheckListDAO.SortIndex, aAlias);
        } else {
            addSelectProperty(IProductFeatureCheckListDAO.SortIndex, "sortIndex");
        }
    }

    public void addStatusSelectProperty() {
        addStatusSelectProperty("status");
    }

    public void addStatusSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(IProductFeatureCheckListDAO.Status, aAlias);
        } else {
            addSelectProperty(IProductFeatureCheckListDAO.Status, "status");
        }
    }

    public void addRemarksSelectProperty() {
        addRemarksSelectProperty("remarks");
    }

    public void addRemarksSelectProperty(String aAlias) {
        if (StringUtils.isNotBlank(aAlias)) {
            addSelectProperty(IProductFeatureCheckListDAO.Remarks, aAlias);
        } else {
            addSelectProperty(IProductFeatureCheckListDAO.Remarks, "remarks");
        }
    }

    public void addAllSelectProperties() {
        addIdSelectProperty();

        addProductFeatureIdSelectProperty();

        addCheckContentSelectProperty();

        addSortIndexSelectProperty();

        addStatusSelectProperty();

        addRemarksSelectProperty();
    }

    public static class Criteria extends BaseWhereCriterion<ProductFeatureCheckListDAOQueryBean> {
        protected Criteria(ProductFeatureCheckListDAOQueryBean aParentObject) {
            super(aParentObject);
        }

        public Criteria andIdIsNull() {
            addCriterion(IProductFeatureCheckListDAO.Id + " is null");

            return this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion(IProductFeatureCheckListDAO.Id + " is not null");

            return this;
        }

        public Criteria andIdIsNotEmpty() {
            addCriterion(IProductFeatureCheckListDAO.Id + " is not null AND " +
                IProductFeatureCheckListDAO.Id + " <> ''");

            return this;
        }

        public Criteria andIdIsEmpty() {
            addCriterion("(" + IProductFeatureCheckListDAO.Id + " is null OR " +
                IProductFeatureCheckListDAO.Id + " = '')");

            return this;
        }

        public Criteria andIdEqualTo(long value) {
            return andIdEqualTo(Long.valueOf(value));
        }

        public Criteria andIdEqualTo(java.lang.Long value) {
            addCriterion(IProductFeatureCheckListDAO.Id + " = ", value, "id");

            return this;
        }

        public Criteria andIdEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Id);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Id + " = ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andIdNotEqualTo(long value) {
            return andIdNotEqualTo(Long.valueOf(value));
        }

        public Criteria andIdNotEqualTo(java.lang.Long value) {
            addCriterion(IProductFeatureCheckListDAO.Id + " <>", value, "id");

            return this;
        }

        public Criteria andIdNotEqualToOrIsNull(long value) {
            return andIdNotEqualToOrIsNull(Long.valueOf(value));
        }

        public Criteria andIdNotEqualToOrIsNull(java.lang.Long value) {
            addCriterion(IProductFeatureCheckListDAO.Id + " is null OR " +
                IProductFeatureCheckListDAO.Id + " <>", value, "id");

            return this;
        }

        public Criteria andIdNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Id);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Id + " <> ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andIdGreaterThan(long value) {
            return andIdGreaterThan(Long.valueOf(value));
        }

        public Criteria andIdGreaterThan(java.lang.Long value) {
            addCriterion(IProductFeatureCheckListDAO.Id + " >", value, "id");

            return this;
        }

        public Criteria andIdGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Id);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Id + " > ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andIdGreaterThanOrEqualTo(long value) {
            return andIdGreaterThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andIdGreaterThanOrEqualTo(java.lang.Long value) {
            addCriterion(IProductFeatureCheckListDAO.Id + " >=", value, "id");

            return this;
        }

        public Criteria andIdGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Id);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdGreaterThanOrEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Id + " >= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andIdLessThan(long value) {
            return andIdLessThan(Long.valueOf(value));
        }

        public Criteria andIdLessThan(java.lang.Long value) {
            addCriterion(IProductFeatureCheckListDAO.Id + " <", value, "id");

            return this;
        }

        public Criteria andIdLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Id);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Id + " < ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andIdLessThanOrEqualTo(long value) {
            return andIdLessThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andIdLessThanOrEqualTo(java.lang.Long value) {
            addCriterion(IProductFeatureCheckListDAO.Id + " <=", value, "id");

            return this;
        }

        public Criteria andIdLessThanOrEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Id);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andIdLessThanOrEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Id + " <= ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andIdIn(long[] values) {
            if (values.length == 1) {
                return andIdEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.Id + " in", values,
                    "id");

                return this;
            }
        }

        public Criteria andIdNotIn(long[] values) {
            if (values.length == 1) {
                return andIdNotEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.Id + " not in",
                    values, "id");

                return this;
            }
        }

        public Criteria andIdIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andIdEqualTo(values.get(0));
            } else {
                addCriterion(IProductFeatureCheckListDAO.Id + " in", values,
                    "id");

                return this;
            }
        }

        public Criteria andIdNotIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andIdNotEqualTo(values.get(0));
            } else {
                addCriterion(IProductFeatureCheckListDAO.Id + " not in",
                    values, "id");

                return this;
            }
        }

        public Criteria andIdIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andIdEqualTo(values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.Id + " in",
                    Arrays.asList(values), "id");

                return this;
            }
        }

        public Criteria andIdNotIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andIdNotEqualTo(values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.Id + " not in",
                    Arrays.asList(values), "id");

                return this;
            }
        }

        public Criteria andIdIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Id + " in ", subQueryBean,
                dao);

            return this;
        }

        public Criteria andIdNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Id + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andIdBetween(long value1, long value2) {
            addCriterion(IProductFeatureCheckListDAO.Id + " between", value1,
                value2, "id");

            return this;
        }

        public Criteria andIdBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(IProductFeatureCheckListDAO.Id + " between", value1,
                value2, "id");

            return this;
        }

        public Criteria andIdNotBetween(long value1, long value2) {
            addCriterion(IProductFeatureCheckListDAO.Id + " not between",
                value1, value2, "id");

            return this;
        }

        public Criteria andIdNotBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(IProductFeatureCheckListDAO.Id + " not between",
                value1, value2, "id");

            return this;
        }

        public Criteria andProductFeatureIdIsNull() {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId +
                " is null");

            return this;
        }

        public Criteria andProductFeatureIdIsNotNull() {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId +
                " is not null");

            return this;
        }

        public Criteria andProductFeatureIdIsNotEmpty() {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId +
                " is not null AND " +
                IProductFeatureCheckListDAO.ProductFeatureId + " <> ''");

            return this;
        }

        public Criteria andProductFeatureIdIsEmpty() {
            addCriterion("(" + IProductFeatureCheckListDAO.ProductFeatureId +
                " is null OR " + IProductFeatureCheckListDAO.ProductFeatureId +
                " = '')");

            return this;
        }

        public Criteria andProductFeatureIdEqualTo(long value) {
            return andProductFeatureIdEqualTo(Long.valueOf(value));
        }

        public Criteria andProductFeatureIdEqualTo(java.lang.Long value) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId + " = ",
                value, "productFeatureId");

            return this;
        }

        public Criteria andProductFeatureIdEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.ProductFeatureId);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andProductFeatureIdEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId + " = ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andProductFeatureIdNotEqualTo(long value) {
            return andProductFeatureIdNotEqualTo(Long.valueOf(value));
        }

        public Criteria andProductFeatureIdNotEqualTo(java.lang.Long value) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId + " <>",
                value, "productFeatureId");

            return this;
        }

        public Criteria andProductFeatureIdNotEqualToOrIsNull(long value) {
            return andProductFeatureIdNotEqualToOrIsNull(Long.valueOf(value));
        }

        public Criteria andProductFeatureIdNotEqualToOrIsNull(
            java.lang.Long value) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId +
                " is null OR " + IProductFeatureCheckListDAO.ProductFeatureId +
                " <>", value, "productFeatureId");

            return this;
        }

        public Criteria andProductFeatureIdNotEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.ProductFeatureId);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andProductFeatureIdNotEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId + " <> ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andProductFeatureIdGreaterThan(long value) {
            return andProductFeatureIdGreaterThan(Long.valueOf(value));
        }

        public Criteria andProductFeatureIdGreaterThan(java.lang.Long value) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId + " >",
                value, "productFeatureId");

            return this;
        }

        public Criteria andProductFeatureIdGreaterThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.ProductFeatureId);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andProductFeatureIdGreaterThan(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId + " > ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andProductFeatureIdGreaterThanOrEqualTo(long value) {
            return andProductFeatureIdGreaterThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andProductFeatureIdGreaterThanOrEqualTo(
            java.lang.Long value) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId + " >=",
                value, "productFeatureId");

            return this;
        }

        public Criteria andProductFeatureIdGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.ProductFeatureId);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andProductFeatureIdGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId + " >= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andProductFeatureIdLessThan(long value) {
            return andProductFeatureIdLessThan(Long.valueOf(value));
        }

        public Criteria andProductFeatureIdLessThan(java.lang.Long value) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId + " <",
                value, "productFeatureId");

            return this;
        }

        public Criteria andProductFeatureIdLessThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.ProductFeatureId);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andProductFeatureIdLessThan(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId + " < ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andProductFeatureIdLessThanOrEqualTo(long value) {
            return andProductFeatureIdLessThanOrEqualTo(Long.valueOf(value));
        }

        public Criteria andProductFeatureIdLessThanOrEqualTo(
            java.lang.Long value) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId + " <=",
                value, "productFeatureId");

            return this;
        }

        public Criteria andProductFeatureIdLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.ProductFeatureId);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andProductFeatureIdLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId + " <= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andProductFeatureIdIn(long[] values) {
            if (values.length == 1) {
                return andProductFeatureIdEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.ProductFeatureId +
                    " in", values, "productFeatureId");

                return this;
            }
        }

        public Criteria andProductFeatureIdNotIn(long[] values) {
            if (values.length == 1) {
                return andProductFeatureIdNotEqualTo((java.lang.Long) values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.ProductFeatureId +
                    " not in", values, "productFeatureId");

                return this;
            }
        }

        public Criteria andProductFeatureIdIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andProductFeatureIdEqualTo(values.get(0));
            } else {
                addCriterion(IProductFeatureCheckListDAO.ProductFeatureId +
                    " in", values, "productFeatureId");

                return this;
            }
        }

        public Criteria andProductFeatureIdNotIn(List<java.lang.Long> values) {
            if (values.size() == 1) {
                return andProductFeatureIdNotEqualTo(values.get(0));
            } else {
                addCriterion(IProductFeatureCheckListDAO.ProductFeatureId +
                    " not in", values, "productFeatureId");

                return this;
            }
        }

        public Criteria andProductFeatureIdIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andProductFeatureIdEqualTo(values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.ProductFeatureId +
                    " in", Arrays.asList(values), "productFeatureId");

                return this;
            }
        }

        public Criteria andProductFeatureIdNotIn(java.lang.Long[] values) {
            if (values.length == 1) {
                return andProductFeatureIdNotEqualTo(values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.ProductFeatureId +
                    " not in", Arrays.asList(values), "productFeatureId");

                return this;
            }
        }

        public Criteria andProductFeatureIdIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId + " in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andProductFeatureIdNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId +
                " not in ", subQueryBean, dao);

            return this;
        }

        public Criteria andProductFeatureIdBetween(long value1, long value2) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId +
                " between", value1, value2, "productFeatureId");

            return this;
        }

        public Criteria andProductFeatureIdBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId +
                " between", value1, value2, "productFeatureId");

            return this;
        }

        public Criteria andProductFeatureIdNotBetween(long value1, long value2) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId +
                " not between", value1, value2, "productFeatureId");

            return this;
        }

        public Criteria andProductFeatureIdNotBetween(java.lang.Long value1,
            java.lang.Long value2) {
            addCriterion(IProductFeatureCheckListDAO.ProductFeatureId +
                " not between", value1, value2, "productFeatureId");

            return this;
        }

        public Criteria andCheckContentIsNull() {
            addCriterion(IProductFeatureCheckListDAO.CheckContent + " is null");

            return this;
        }

        public Criteria andCheckContentIsNotNull() {
            addCriterion(IProductFeatureCheckListDAO.CheckContent +
                " is not null");

            return this;
        }

        public Criteria andCheckContentIsNotEmpty() {
            addCriterion(IProductFeatureCheckListDAO.CheckContent +
                " is not null AND " + IProductFeatureCheckListDAO.CheckContent +
                " <> ''");

            return this;
        }

        public Criteria andCheckContentIsEmpty() {
            addCriterion("(" + IProductFeatureCheckListDAO.CheckContent +
                " is null OR " + IProductFeatureCheckListDAO.CheckContent +
                " = '')");

            return this;
        }

        public Criteria andCheckContentEqualTo(String value) {
            addCriterion(IProductFeatureCheckListDAO.CheckContent + " = ",
                value, "checkContent");

            return this;
        }

        public Criteria andCheckContentEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.CheckContent);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andCheckContentEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.CheckContent + " = ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andCheckContentNotEqualTo(String value) {
            addCriterion(IProductFeatureCheckListDAO.CheckContent + " <>",
                value, "checkContent");

            return this;
        }

        public Criteria andCheckContentNotEqualToOrIsNull(String value) {
            addCriterion(IProductFeatureCheckListDAO.CheckContent +
                " is null OR " + IProductFeatureCheckListDAO.CheckContent +
                " <>", value, "checkContent");

            return this;
        }

        public Criteria andCheckContentNotEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.CheckContent);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andCheckContentNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.CheckContent + " <> ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andCheckContentGreaterThan(String value) {
            addCriterion(IProductFeatureCheckListDAO.CheckContent + " >",
                value, "checkContent");

            return this;
        }

        public Criteria andCheckContentGreaterThanForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.CheckContent);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andCheckContentGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.CheckContent + " > ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andCheckContentGreaterThanOrEqualTo(String value) {
            addCriterion(IProductFeatureCheckListDAO.CheckContent + " >=",
                value, "checkContent");

            return this;
        }

        public Criteria andCheckContentGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.CheckContent);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andCheckContentGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.CheckContent + " >= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andCheckContentLessThan(String value) {
            addCriterion(IProductFeatureCheckListDAO.CheckContent + " <",
                value, "checkContent");

            return this;
        }

        public Criteria andCheckContentLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.CheckContent);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andCheckContentLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.CheckContent + " < ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andCheckContentLessThanOrEqualTo(String value) {
            addCriterion(IProductFeatureCheckListDAO.CheckContent + " <=",
                value, "checkContent");

            return this;
        }

        public Criteria andCheckContentLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.CheckContent);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andCheckContentLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.CheckContent + " <= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andCheckContentLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(IProductFeatureCheckListDAO.CheckContent + " like",
                buffer.toString(), "checkContent");

            return this;
        }

        public Criteria andCheckContentNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(IProductFeatureCheckListDAO.CheckContent +
                " not like", buffer.toString(), "checkContent");

            return this;
        }

        public Criteria andCheckContentIn(List<String> values) {
            if (values.size() == 1) {
                return andCheckContentEqualTo(values.get(0));
            } else {
                addCriterion(IProductFeatureCheckListDAO.CheckContent + " in",
                    values, "checkContent");

                return this;
            }
        }

        public Criteria andCheckContentNotIn(List<String> values) {
            if (values.size() == 1) {
                return andCheckContentNotEqualTo(values.get(0));
            } else {
                addCriterion(IProductFeatureCheckListDAO.CheckContent +
                    " not in", values, "checkContent");

                return this;
            }
        }

        public Criteria andCheckContentIn(String[] values) {
            if (values.length == 1) {
                return andCheckContentEqualTo(values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.CheckContent + " in",
                    Arrays.asList(values), "checkContent");

                return this;
            }
        }

        public Criteria andCheckContentNotIn(String[] values) {
            if (values.length == 1) {
                return andCheckContentNotEqualTo(values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.CheckContent +
                    " not in", Arrays.asList(values), "checkContent");

                return this;
            }
        }

        public Criteria andCheckContentIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.CheckContent + " in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andCheckContentNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.CheckContent + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andCheckContentBetween(String value1, String value2) {
            addCriterion(IProductFeatureCheckListDAO.CheckContent + " between",
                value1, value2, "checkContent");

            return this;
        }

        public Criteria andCheckContentNotBetween(String value1, String value2) {
            addCriterion(IProductFeatureCheckListDAO.CheckContent +
                " not between", value1, value2, "checkContent");

            return this;
        }

        public Criteria andSortIndexIsNull() {
            addCriterion(IProductFeatureCheckListDAO.SortIndex + " is null");

            return this;
        }

        public Criteria andSortIndexIsNotNull() {
            addCriterion(IProductFeatureCheckListDAO.SortIndex +
                " is not null");

            return this;
        }

        public Criteria andSortIndexIsNotEmpty() {
            addCriterion(IProductFeatureCheckListDAO.SortIndex +
                " is not null AND " + IProductFeatureCheckListDAO.SortIndex +
                " <> ''");

            return this;
        }

        public Criteria andSortIndexIsEmpty() {
            addCriterion("(" + IProductFeatureCheckListDAO.SortIndex +
                " is null OR " + IProductFeatureCheckListDAO.SortIndex +
                " = '')");

            return this;
        }

        public Criteria andSortIndexEqualTo(int value) {
            return andSortIndexEqualTo(Integer.valueOf(value));
        }

        public Criteria andSortIndexEqualTo(java.lang.Integer value) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex + " = ", value,
                "sortIndex");

            return this;
        }

        public Criteria andSortIndexEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.SortIndex);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSortIndexEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex + " = ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andSortIndexNotEqualTo(int value) {
            return andSortIndexNotEqualTo(Integer.valueOf(value));
        }

        public Criteria andSortIndexNotEqualTo(java.lang.Integer value) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex + " <>", value,
                "sortIndex");

            return this;
        }

        public Criteria andSortIndexNotEqualToOrIsNull(int value) {
            return andSortIndexNotEqualToOrIsNull(Integer.valueOf(value));
        }

        public Criteria andSortIndexNotEqualToOrIsNull(java.lang.Integer value) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex +
                " is null OR " + IProductFeatureCheckListDAO.SortIndex + " <>",
                value, "sortIndex");

            return this;
        }

        public Criteria andSortIndexNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.SortIndex);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSortIndexNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex + " <> ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andSortIndexGreaterThan(int value) {
            return andSortIndexGreaterThan(Integer.valueOf(value));
        }

        public Criteria andSortIndexGreaterThan(java.lang.Integer value) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex + " >", value,
                "sortIndex");

            return this;
        }

        public Criteria andSortIndexGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.SortIndex);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSortIndexGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex + " > ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andSortIndexGreaterThanOrEqualTo(int value) {
            return andSortIndexGreaterThanOrEqualTo(Integer.valueOf(value));
        }

        public Criteria andSortIndexGreaterThanOrEqualTo(
            java.lang.Integer value) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex + " >=", value,
                "sortIndex");

            return this;
        }

        public Criteria andSortIndexGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.SortIndex);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSortIndexGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex + " >= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andSortIndexLessThan(int value) {
            return andSortIndexLessThan(Integer.valueOf(value));
        }

        public Criteria andSortIndexLessThan(java.lang.Integer value) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex + " <", value,
                "sortIndex");

            return this;
        }

        public Criteria andSortIndexLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.SortIndex);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSortIndexLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex + " < ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andSortIndexLessThanOrEqualTo(int value) {
            return andSortIndexLessThanOrEqualTo(Integer.valueOf(value));
        }

        public Criteria andSortIndexLessThanOrEqualTo(java.lang.Integer value) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex + " <=", value,
                "sortIndex");

            return this;
        }

        public Criteria andSortIndexLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.SortIndex);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andSortIndexLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex + " <= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andSortIndexIn(int[] values) {
            if (values.length == 1) {
                return andSortIndexEqualTo((java.lang.Integer) values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.SortIndex + " in",
                    values, "sortIndex");

                return this;
            }
        }

        public Criteria andSortIndexNotIn(int[] values) {
            if (values.length == 1) {
                return andSortIndexNotEqualTo((java.lang.Integer) values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.SortIndex + " not in",
                    values, "sortIndex");

                return this;
            }
        }

        public Criteria andSortIndexIn(List<java.lang.Integer> values) {
            if (values.size() == 1) {
                return andSortIndexEqualTo(values.get(0));
            } else {
                addCriterion(IProductFeatureCheckListDAO.SortIndex + " in",
                    values, "sortIndex");

                return this;
            }
        }

        public Criteria andSortIndexNotIn(List<java.lang.Integer> values) {
            if (values.size() == 1) {
                return andSortIndexNotEqualTo(values.get(0));
            } else {
                addCriterion(IProductFeatureCheckListDAO.SortIndex + " not in",
                    values, "sortIndex");

                return this;
            }
        }

        public Criteria andSortIndexIn(java.lang.Integer[] values) {
            if (values.length == 1) {
                return andSortIndexEqualTo(values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.SortIndex + " in",
                    Arrays.asList(values), "sortIndex");

                return this;
            }
        }

        public Criteria andSortIndexNotIn(java.lang.Integer[] values) {
            if (values.length == 1) {
                return andSortIndexNotEqualTo(values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.SortIndex + " not in",
                    Arrays.asList(values), "sortIndex");

                return this;
            }
        }

        public Criteria andSortIndexIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex + " in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andSortIndexNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andSortIndexBetween(int value1, int value2) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex + " between",
                value1, value2, "sortIndex");

            return this;
        }

        public Criteria andSortIndexBetween(java.lang.Integer value1,
            java.lang.Integer value2) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex + " between",
                value1, value2, "sortIndex");

            return this;
        }

        public Criteria andSortIndexNotBetween(int value1, int value2) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex +
                " not between", value1, value2, "sortIndex");

            return this;
        }

        public Criteria andSortIndexNotBetween(java.lang.Integer value1,
            java.lang.Integer value2) {
            addCriterion(IProductFeatureCheckListDAO.SortIndex +
                " not between", value1, value2, "sortIndex");

            return this;
        }

        public Criteria andStatusIsNull() {
            addCriterion(IProductFeatureCheckListDAO.Status + " is null");

            return this;
        }

        public Criteria andStatusIsNotNull() {
            addCriterion(IProductFeatureCheckListDAO.Status + " is not null");

            return this;
        }

        public Criteria andStatusIsNotEmpty() {
            addCriterion(IProductFeatureCheckListDAO.Status +
                " is not null AND " + IProductFeatureCheckListDAO.Status +
                " <> ''");

            return this;
        }

        public Criteria andStatusIsEmpty() {
            addCriterion("(" + IProductFeatureCheckListDAO.Status +
                " is null OR " + IProductFeatureCheckListDAO.Status + " = '')");

            return this;
        }

        public Criteria andStatusEqualTo(String value) {
            addCriterion(IProductFeatureCheckListDAO.Status + " = ", value,
                "status");

            return this;
        }

        public Criteria andStatusEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Status);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Status + " = ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andStatusNotEqualTo(String value) {
            addCriterion(IProductFeatureCheckListDAO.Status + " <>", value,
                "status");

            return this;
        }

        public Criteria andStatusNotEqualToOrIsNull(String value) {
            addCriterion(IProductFeatureCheckListDAO.Status + " is null OR " +
                IProductFeatureCheckListDAO.Status + " <>", value, "status");

            return this;
        }

        public Criteria andStatusNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Status);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Status + " <> ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andStatusGreaterThan(String value) {
            addCriterion(IProductFeatureCheckListDAO.Status + " >", value,
                "status");

            return this;
        }

        public Criteria andStatusGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Status);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Status + " > ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(String value) {
            addCriterion(IProductFeatureCheckListDAO.Status + " >=", value,
                "status");

            return this;
        }

        public Criteria andStatusGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Status);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Status + " >= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andStatusLessThan(String value) {
            addCriterion(IProductFeatureCheckListDAO.Status + " <", value,
                "status");

            return this;
        }

        public Criteria andStatusLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Status);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Status + " < ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andStatusLessThanOrEqualTo(String value) {
            addCriterion(IProductFeatureCheckListDAO.Status + " <=", value,
                "status");

            return this;
        }

        public Criteria andStatusLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Status);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andStatusLessThanOrEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Status + " <= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andStatusLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(IProductFeatureCheckListDAO.Status + " like",
                buffer.toString(), "status");

            return this;
        }

        public Criteria andStatusNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(IProductFeatureCheckListDAO.Status + " not like",
                buffer.toString(), "status");

            return this;
        }

        public Criteria andStatusIn(List<String> values) {
            if (values.size() == 1) {
                return andStatusEqualTo(values.get(0));
            } else {
                addCriterion(IProductFeatureCheckListDAO.Status + " in",
                    values, "status");

                return this;
            }
        }

        public Criteria andStatusNotIn(List<String> values) {
            if (values.size() == 1) {
                return andStatusNotEqualTo(values.get(0));
            } else {
                addCriterion(IProductFeatureCheckListDAO.Status + " not in",
                    values, "status");

                return this;
            }
        }

        public Criteria andStatusIn(String[] values) {
            if (values.length == 1) {
                return andStatusEqualTo(values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.Status + " in",
                    Arrays.asList(values), "status");

                return this;
            }
        }

        public Criteria andStatusNotIn(String[] values) {
            if (values.length == 1) {
                return andStatusNotEqualTo(values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.Status + " not in",
                    Arrays.asList(values), "status");

                return this;
            }
        }

        public Criteria andStatusIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Status + " in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andStatusNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Status + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andStatusBetween(String value1, String value2) {
            addCriterion(IProductFeatureCheckListDAO.Status + " between",
                value1, value2, "status");

            return this;
        }

        public Criteria andStatusNotBetween(String value1, String value2) {
            addCriterion(IProductFeatureCheckListDAO.Status + " not between",
                value1, value2, "status");

            return this;
        }

        public Criteria andRemarksIsNull() {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " is null");

            return this;
        }

        public Criteria andRemarksIsNotNull() {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " is not null");

            return this;
        }

        public Criteria andRemarksIsNotEmpty() {
            addCriterion(IProductFeatureCheckListDAO.Remarks +
                " is not null AND " + IProductFeatureCheckListDAO.Remarks +
                " <> ''");

            return this;
        }

        public Criteria andRemarksIsEmpty() {
            addCriterion("(" + IProductFeatureCheckListDAO.Remarks +
                " is null OR " + IProductFeatureCheckListDAO.Remarks +
                " = '')");

            return this;
        }

        public Criteria andRemarksEqualTo(String value) {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " = ", value,
                "remarks");

            return this;
        }

        public Criteria andRemarksEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Remarks);
            str.append(" = ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " = ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksNotEqualTo(String value) {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " <>", value,
                "remarks");

            return this;
        }

        public Criteria andRemarksNotEqualToOrIsNull(String value) {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " is null OR " +
                IProductFeatureCheckListDAO.Remarks + " <>", value, "remarks");

            return this;
        }

        public Criteria andRemarksNotEqualToForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Remarks);
            str.append(" <> ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksNotEqualTo(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " <> ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksGreaterThan(String value) {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " >", value,
                "remarks");

            return this;
        }

        public Criteria andRemarksGreaterThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Remarks);
            str.append(" > ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksGreaterThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " > ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(String value) {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " >=", value,
                "remarks");

            return this;
        }

        public Criteria andRemarksGreaterThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Remarks);
            str.append(" >= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksGreaterThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " >= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksLessThan(String value) {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " <", value,
                "remarks");

            return this;
        }

        public Criteria andRemarksLessThanForeignKey(java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Remarks);
            str.append(" < ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksLessThan(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " < ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksLessThanOrEqualTo(String value) {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " <=", value,
                "remarks");

            return this;
        }

        public Criteria andRemarksLessThanOrEqualToForeignKey(
            java.lang.String key) {
            StringBuffer str = new StringBuffer(IProductFeatureCheckListDAO.Remarks);
            str.append(" <= ").append(key);
            addForeignKeyCriterion(str.toString());

            return this;
        }

        public Criteria andRemarksLessThanOrEqualTo(
            BaseQueryBean subQueryBean, IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " <= ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(IProductFeatureCheckListDAO.Remarks + " like",
                buffer.toString(), "remarks");

            return this;
        }

        public Criteria andRemarksNotLike(String value) {
            StringBuffer buffer = new StringBuffer("%");
            buffer.append(value);
            buffer.append("%");
            addCriterion(IProductFeatureCheckListDAO.Remarks + " not like",
                buffer.toString(), "remarks");

            return this;
        }

        public Criteria andRemarksIn(List<String> values) {
            if (values.size() == 1) {
                return andRemarksEqualTo(values.get(0));
            } else {
                addCriterion(IProductFeatureCheckListDAO.Remarks + " in",
                    values, "remarks");

                return this;
            }
        }

        public Criteria andRemarksNotIn(List<String> values) {
            if (values.size() == 1) {
                return andRemarksNotEqualTo(values.get(0));
            } else {
                addCriterion(IProductFeatureCheckListDAO.Remarks + " not in",
                    values, "remarks");

                return this;
            }
        }

        public Criteria andRemarksIn(String[] values) {
            if (values.length == 1) {
                return andRemarksEqualTo(values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.Remarks + " in",
                    Arrays.asList(values), "remarks");

                return this;
            }
        }

        public Criteria andRemarksNotIn(String[] values) {
            if (values.length == 1) {
                return andRemarksNotEqualTo(values[0]);
            } else {
                addCriterion(IProductFeatureCheckListDAO.Remarks + " not in",
                    Arrays.asList(values), "remarks");

                return this;
            }
        }

        public Criteria andRemarksIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksNotIn(BaseQueryBean subQueryBean,
            IDataAccessInterface<?, ?> dao) {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " not in ",
                subQueryBean, dao);

            return this;
        }

        public Criteria andRemarksBetween(String value1, String value2) {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " between",
                value1, value2, "remarks");

            return this;
        }

        public Criteria andRemarksNotBetween(String value1, String value2) {
            addCriterion(IProductFeatureCheckListDAO.Remarks + " not between",
                value1, value2, "remarks");

            return this;
        }
    }
}
